namespace java com.greatidy.rpc.service
namespace go mo.service

include "Entities.thrift"

service RpcService {

    /**
    *
    * 返回数据格式：{"code": 200, "message": "success"}
    **/
    Entities.ResEntity write(1:required Entities.MoEntity mo);

    string ping()

    Entities.ResEntity login(1:required Entities.LoginEntity entity)

}
